The magnitude of the work done by the man is given by the product of the force he exerts, the distance over which he exerts it, and the cosine of the angle between them. Since the distance traveled and the force exerted are in the same direction, the cosine of the angle between them is 1: